package com.jltx.zeus.arch.task

import android.content.Context
import android.os.Looper
import android.os.SystemClock
import android.util.Log
import com.jltx.xq.zeus.startup.AndroidStartup

class Task1 : AndroidStartup<Void?>() {
    override fun create(context: Context): Void? {
        val t = if (Looper.myLooper() == Looper.getMainLooper()) "主线程: " else "子线程: "
        Log.d("GGGGG", "$t Task1：学习Java基础")
        SystemClock.sleep(3000)
        Log.d("GGGGG", "$t Task1：掌握Java基础")
        return null
    }
}